import axios from '@/utils/request';

export function getSchoolClassList(params) {
    return axios.post({
        url: '/school-class/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function getSchoolClassListAll(params) {
    return axios.post({
        url: '/school-class/listAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function getLoadSchoolClassListAll(params) {
    return axios.post({
        url: '/school-class/loadListAll',
        data: params
    }).then((res) => {
        return res
    })
}

export function editSchoolClass(params) {
    return axios.post({
        url: '/school-class/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteSchoolClass(params) {
    return axios.post({
        url: '/school-class/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadSchoolClass(params) {
    return axios.post({
        url: '/school-class/load',
        data: params
    }).then((res) => {
        return res
    })
}

